/*
 * SPDX-FileCopyrightText: 2015 PHYTEC Messtechnik GmbH
 * SPDX-FileCopyrightText: 2015 Eistec AB
 * SPDX-License-Identifier: LGPL-2.1-only
 */

#pragma once

/**
 * @defgroup    cpu_kinetis_wdog Kinetis WDOG
 * @ingroup     cpu_kinetis
 * @brief       Driver for Freescale WDOG device.
 *              There are different implementations of the Watchdog devices.
 *              Currently, it is only possible to turn the Watchdog off.
 *              It supports two types: an advanced Watchdog, mostly found
 *              on Kinetis MCUs with Cortex-M4 inside and a simpler
 *              COP Watchdog.
 *
 *              ### WDOG Configuration Example (for periph_conf.h) ###
 *              The driver attempts to determine the type of the WDOG.
 *              Also you can force the use of advanced WDOG:
 *
 *                  #define KINETIS_WDOG_ADVANCED    1
 *
 *              Or the use of COP WDOG:
 *
 *                  #define KINETIS_WDOG_ADVANCED    0
 *
 * @{

 * @file
 * @brief       Interface definition for the Kinetis WDOG driver.
 *
 * @author      Johann Fischer <j.fischer@phytec.de>
 * @author      Joakim Nohlgård <joakim.nohlgard@eistec.se>
 */

#ifdef __cplusplus
extern "C"
{
#endif

/**
 * @brief Disable hardware watchdog.
 */
void wdog_disable(void);

#ifdef __cplusplus
}
#endif

/** @} */
